/**
 * @param { string } filename
 * @param { Blob } blob
 */
export default function downloadBlob(filename, blob) {
    const link = document.createElement("a");
    link.download = filename;
    link.href = URL.createObjectURL(blob);
    link.click();
    URL.revokeObjectURL(link.href);
}
